package com.unpay.skb.requests;

import com.unpay.skb.responses.ReplacePayResponse;
import com.unpay.skb.util.Config;

/**
 * T0/T1 代付接口
 */
public class ReplacePayRequest extends UnpayRequest<ReplacePayResponse>{
    private String subMchId;//子商户号
    private String subMchName;//子商户名
    private String txnType="07";//交易类型
    private String paidType;//代付类型
    private String tranType;//交易结算类型
    private String merCbCode;//银行代码
    private String merCbName;//银行名称
    private String settAcctName;//结算账户名
    private String settAcct;//结算账号
    private String idNo;//身份证号
    private String phoneNo;//手机号
    private String totalAmt;//总交易金额
    private String proxyCode= Config.instance().getProxyCode();//代理账号
    private String paidOrderId;//代付订单号
    private String batchNo;//批次号
    private String orderId;//交易订单号

    public String getSubMchId() {
        return subMchId;
    }

    public void setSubMchId(String subMchId) {
        this.subMchId = subMchId;
    }

    public String getSubMchName() {
        return subMchName;
    }

    public void setSubMchName(String subMchName) {
        this.subMchName = subMchName;
    }

    public String getTxnType() {
        return txnType;
    }

    public void setTxnType(String txnType) {
        this.txnType = txnType;
    }

    public String getPaidType() {
        return paidType;
    }

    public void setPaidType(String paidType) {
        this.paidType = paidType;
    }

    public String getTranType() {
        return tranType;
    }

    public void setTranType(String tranType) {
        this.tranType = tranType;
    }

    public String getMerCbCode() {
        return merCbCode;
    }

    public void setMerCbCode(String merCbCode) {
        this.merCbCode = merCbCode;
    }

    public String getMerCbName() {
        return merCbName;
    }

    public void setMerCbName(String merCbName) {
        this.merCbName = merCbName;
    }

    public String getSettAcctName() {
        return settAcctName;
    }

    public void setSettAcctName(String settAcctName) {
        this.settAcctName = settAcctName;
    }

    public String getSettAcct() {
        return settAcct;
    }

    public void setSettAcct(String settAcct) {
        this.settAcct = settAcct;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getTotalAmt() {
        return totalAmt;
    }

    public void setTotalAmt(String totalAmt) {
        this.totalAmt = totalAmt;
    }

    public String getProxyCode() {
        return proxyCode;
    }

    public String getPaidOrderId() {
        return paidOrderId;
    }

    public void setPaidOrderId(String paidOrderId) {
        this.paidOrderId = paidOrderId;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    @Override
    public Class<ReplacePayResponse> responseClass() {
        return ReplacePayResponse.class;
    }
}
